From e693ed3d021aa09550a7774b17573a2a7d74672b Mon Sep 17 00:00:00 2001 From: "iap10@labyrinth.cl.cam.ac.uk" Date: Thu, 17 Jun 2004 12:38:59 +0000 Subject: [PATCH] bitkeeper revision 1.967.1.1 (40d190e3V7PN13crvyU7Jlnc76jn_g) add searchpath to netfix --- tools/xenmgr/netfix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tools/xenmgr/netfix b/tools/xenmgr/netfix index fcde6292cb..f325ca663e 100644 --- a/tools/xenmgr/netfix +++ b/tools/xenmgr/netfix @@ -11,9 +11,10 @@ import sys from getopt import getopt -CMD_IFCONFIG = '/sbin/ifconfig' -CMD_ROUTE = '/sbin/route' -CMD_BRCTL = '/usr/local/sbin/brctl' +os.defpath = os.defpath+':/sbin:/usr/sbin:/usr/local/sbin' +CMD_IFCONFIG = 'ifconfig' +CMD_ROUTE = 'route' +CMD_BRCTL = 'brctl' def routes(): """Return a list of the routes. -- 2.30.2